package com.wnhz.work.yz.bean;

import java.util.List;

/**
 * Created by admin on 2017/6/3.
 */
public class Install4Bean {

    /**
     * result : 1
     * info : {"pid":"4","type":"1","name":"绿色乳胶漆","des":"绿色乳胶漆","price":"58.00","unit":"㎡","index_pic":["http://youzhu.unohacha.com/Uploads/Picture/uploads/20170525/5926c5287792c.png"]}
     */

    private String result;
    /**
     * pid : 4
     * type : 1
     * name : 绿色乳胶漆
     * des : 绿色乳胶漆
     * price : 58.00
     * unit : ㎡
     * index_pic : ["http://youzhu.unohacha.com/Uploads/Picture/uploads/20170525/5926c5287792c.png"]
     */

    private InfoEntity info;

    public void setResult(String result) {
        this.result = result;
    }

    public void setInfo(InfoEntity info) {
        this.info = info;
    }

    public String getResult() {
        return result;
    }

    public InfoEntity getInfo() {
        return info;
    }

    public static class InfoEntity {
        private String pid;
        private String type;
        private String name;
        private String des;
        private String price;
        private String unit;
        private List<String> index_pic;

        private List<ExampleEntity> example;

        public List<ExampleEntity> getExample() {
            return example;
        }

        public void setExample(List<ExampleEntity> example) {
            this.example = example;
        }

        public void setPid(String pid) {
            this.pid = pid;
        }

        public void setType(String type) {
            this.type = type;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setDes(String des) {
            this.des = des;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public void setIndex_pic(List<String> index_pic) {
            this.index_pic = index_pic;
        }

        public String getPid() {
            return pid;
        }

        public String getType() {
            return type;
        }

        public String getName() {
            return name;
        }

        public String getDes() {
            return des;
        }

        public String getPrice() {
            return price;
        }

        public String getUnit() {
            return unit;
        }

        public List<String> getIndex_pic() {
            return index_pic;
        }


        public static class ExampleEntity {
            private String head_img;
            private String name;
            private String address;
            private String area;
            private String img;

            public void setHead_img(String head_img) {
                this.head_img = head_img;
            }

            public void setName(String name) {
                this.name = name;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public void setArea(String area) {
                this.area = area;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public String getHead_img() {
                return head_img;
            }

            public String getName() {
                return name;
            }

            public String getAddress() {
                return address;
            }

            public String getArea() {
                return area;
            }

            public String getImg() {
                return img;
            }
        }

    }
}
